<table class="table table-bordered table-condensed table-hover table-striped">
    <thead>
        <tr>
            <th>Fecha y hora</th>
            <th>Descargar</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($files as $file) : ?>
        <tr>
            <td><?php echo $file[2]; ?></td>
            <td>
                <a class="btn btn-warning" href="<?php echo $this->Html->url(array('action'=>'downloadHistory', $file[0], $file[1]));?>">
                    Descargar .ALT
                </a>
            </td>
        </tr>
        <?php endforeach; ?>
    </tbody>
</table>